package com.jk.controller;

import com.jk.dto.TemUser;
import com.jk.interfaces.TemUserServiceApi;
import com.jk.service.TemUserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yzf
 * @version 1.0
 * @ClassName TemUserController
 * @program: office
 * @description: TODO
 * @date 2025/2/13 11:39
 */
@Slf4j
@RestController
public class TemUserController implements TemUserServiceApi {
    @Autowired
    private TemUserService temUserService;

    @Override
    public TemUser findTemUserByUserName(String username) {
        return temUserService.findTemUserByUserName(username);
    }
}
